package com.cn.kehong.api;

import com.cn.kehong.domain.*;
import com.cn.kehong.utils.QueryForm;

import javax.servlet.http.HttpServletResponse;
import java.util.Date;
import java.util.List;
import java.util.Map;

public interface ILaborRateService {

    List<LaborRate> getLaborRateLists(QueryForm queryForm)throws Exception;
    List<LaborRate> getLaborRateListsByTimeAndFactoryName(QueryForm queryForm)throws Exception;

    String addLaborRate(LaborRate laborRate) throws Exception;

    String  validateLaborRate(QueryForm queryForm)throws Exception;

    String updateLaborRate(LaborRate laborRate)throws Exception;

    String deleteLaborRateById(String id)throws Exception;

    void exportLaborRate(QueryForm queryForm, HttpServletResponse response)throws Exception;

    Map<String, Object> getListByRateAnalysis(QueryForm queryForm)throws Exception;
}
